home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
146
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
916b
Path: news.cs.ucla.edu!twinsun!not-for-mail
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.std.c
Subject: Re: brief summary of Technical Corrigendum 2
Date: 19 Jan 1996 02:01:15 -0800
Organization: Twin Sun Inc, El Segundo, CA, USA
Message-ID: <4dnq5b$t9a@der.twinsun.com>
References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com>
NNTP-Posting-Host: der.twinsun.com
msb@sq.com (Mark Brader) writes:
>Paul Eggert (eggert@twinsun.com) writes:
>> * String and wide string literals need not be distinct even if not identical,
>> so long as their elements have appropriate values.
>This may be momentarily puzzling, if you don't realize that "their
>elements" includes the trailing null character.
My favorite bit of trivia along these lines is that it is possible
for two non-identical string literals to have the same address!
The null character is the key.